<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			hr~div{
				width: 300PX;
				border: #0000FF 1PX solid;
			}
			hr+div~div{
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;/* 直接裁剪 */
			}
		</style>
	</head>
	<body>
		<div style="text-indent: 2em;">这是文本样式</div>
		<div style="text-align: center;">这是文本样式</div>
		<div style="text-decoration: underline;">这是文本样式</div>
		<div style="text-decoration: line-through;">这是文本样式</div>
		<div style="text-transform: capitalize;">my name is z3这是文本样式</div>
		<div style="text-transform: uppercase;">my name is z3这是文本样式</div>
		<div style="text-transform: lowercase;">MY name is z3这是文本样式</div>
		<div style="text-shadow: 10px 10px 5px #0000ff;">向右下角投影偏移距离为10px 10px,模糊程度（半径）为5px，颜色为蓝色</div>
		
		<hr >
		
		<div style="word-break: break-all;">这是里面的文字AAAAAAAAAAAAAAAAAA</div>
		<div>这是里面的文字AAAAAAAAAAAAAAAAAA</div>
		<div>这是里面的文字AAAAAAAAAAAAAAAAAA</div>
		<div>这是里面的文字AAAAAAAAAAAAAAAAAA</div>
		

		
	</body>
</html>
